package com.gitee.qdbp.general.system.api.permission.service;

import java.util.List;
import com.gitee.qdbp.able.exception.ServiceException;
import com.gitee.qdbp.base.system.model.IAccount;
import com.gitee.qdbp.general.system.api.permission.model.RoleCoreBean;
import com.gitee.qdbp.general.system.api.permission.model.RoleCoreUpdate;

/**
 * 角色信息业务接口
 *
 * @author zhh
 * @version 170214
 */
public interface IRoleCoreExecutor {

    void create(RoleCoreBean model, IAccount me) throws ServiceException;

    /** 修改角色信息 **/
    void update(RoleCoreUpdate model, IAccount me) throws ServiceException;

    void delete(String id, IAccount me) throws ServiceException;

    void delete(List<String> ids, IAccount me) throws ServiceException;
}